package cloud.xlh.my_system.mapper;

import cloud.xlh.my_system.pojo.Database;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : code-generator
 * @ Author: XuLeHuang
 * @ Date: 2022/5/31 10:58
 * @ Description:
 */
public interface DatabaseMapper {
    List<Database> findAllDatabaseToPage(Integer limit , Integer page);

    int add(Database database);

    Database findDatabaseById(Long databaseId);

    List<Database> findAllDatabase();

    void deleteDatabaseByDatabaseId(String databaseId);

    void deleteProjectByDatabaseId(String databaseId);
}
